
<h1>{$lang['addCompany']}</h1>
<h2>{$lang['requestBind']}</h2>
{$lang['whatsAbind']}
<h3>{$lang['ownerlessComps']}</h3>
<table class="feedbackTbl" cellspacing="0">
	<form action="{$smarty.const.WEBROOT}/?action=bindCompany" method="POST"
			id="bindCompany">
	<tr><th>{$lang['name']}</th><th>{$lang['bind']}</th></tr>
	{if $availableComps}
		{foreach from=$availableComps item=comp}
			<tr>
				<td>{$comp->getName()}</td>
				<td><input type="checkbox" name="cId_{$comp->getId()}"/></td>
			</tr>
		{/foreach}
	{else}
	<tr><td colspan="2">{$lang['noOwnerlessComps']}</td></tr>
	{/if}
	</form>
</table><br>
	<p class="readmore">
		<a href="#" onclick="$('#bindCompany').submit()">{$lang['confirm']}</a> »
	</p>
<h2>{$lang['newCompany']}</h2>
	<form action="{$smarty.const.WEBROOT}/?action=addCompany" method="POST"
		id="addCompany" enctype="multipart/form-data">
		<table class="regTbl" cellspacing="0" style="width: 100%;">
			<tr><td>{$lang['companyName']}:</td><td><input type="text" class="feedbackInput inputHeight inputWidth" id="businessname" name="businessname"/></td></tr>
			<tr><td>{$lang['category']}:</td><td>{html_options name=category options=$cats class="feedbackInput inputHeight inputWidth"}</td></tr>
			<tr><td>{$lang['description']}:</td><td><textarea class="feedbackInput textareaHeight inputWidth" id="description" name="description"> </textarea></td></tr>
			<tr><td>{$lang['address']}:</td><td><input type="text" class="feedbackInput inputHeight inputWidth" id="address" name="address"/></td></tr>
			<tr><td>{$lang['phone']}:</td><td><input type="text" class="feedbackInput inputHeight inputWidth" id="phone" name="phone"/></td></tr>
			<tr><td>{$lang['website']}:</td><td><input type="text" class="feedbackInput inputHeight inputWidth" id="website" name="website"/></td></tr>
			<tr><td>{$lang['logo']}:</td><td><input type="file" accept="image/png" class="feedbackInput inputHeight inputWidth" id="logo" name="logo"/></td></tr>
		</table>
	</form>
	<div class="clearfix"></div>
	<br>
	<p class="readmore">
		<a href="#" onclick="$('#addCompany').submit()">{$lang['confirm']}</a> »
	</p>
